package com.sunfeng.yygh.hosp.repository;

import com.sunfeng.yygh.model.hosp.Schedule;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @author sunfeng
 * @date 2021/04/25 17:13
 **/
public interface ScheduleRepository extends MongoRepository<Schedule,String> {
    /**
     *
     * @param hoscode
     * @param hosScheduleId
     * @return
     */
    Schedule getScheduleByHoscodeAndHosScheduleId(String hoscode, String hosScheduleId);
}
